package io.renren.modules.pms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.pms.entity.PmsProductCategoryEntity;
import io.renren.modules.pms.entity.dto.PmsProductCategoryDTO;
import io.renren.modules.pms.entity.dto.ProductWithChildrenDTO;

import javax.xml.crypto.Data;
import java.util.List;
import java.util.Map;

/**
 * 产品分类
 *
 * @author LuoShun
 * @email lori6166@163.com
 * @date 2021-12-12 15:19:30
 */
public interface PmsProductCategoryService extends IService<PmsProductCategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    boolean updateNavStatusById(Long id, Integer navStatus);

    boolean updateShowStatusById(Long id, Integer showStatus);

    boolean create(PmsProductCategoryDTO pmsProductCategoryDTO);

    boolean update(PmsProductCategoryDTO pmsProductCategoryDTO);

    List<ProductWithChildrenDTO> getWithChildren();
}

